<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="d" uri="/WEB-INF/tags/dykj-tags.tld" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
	<link rel="stylesheet" href="<%=request.getContextPath()%>/common/css/main.css"/>
	<link rel="stylesheet" href="<%=request.getContextPath()%>/common/js/tree/tree_blank.css"/>
	<script type="text/javascript" src="<%=request.getContextPath()%>/common/js/jquery.js"></script>
	<script type="text/javascript" src="<%=request.getContextPath()%>/common/js/tree/tree.js"></script>
	<script type="text/javascript" src="<%=request.getContextPath()%>/sysmanager/common/js/initAclTree.js"></script>
	<script type="text/javascript">
		$(document).ready(function(){
			$('.simpleTree').iniTree(eval(<s:property value="acl" escape="false"/>),'功能授权');
			$('.simpleTree').simpleTree({
				animate:true,
				folderOpen:true,
				dataType:"html"
			});
		});
	</script>
  </head>
  <body>
  <form action="<%=request.getContextPath()%>/sysAclManager!saveFunctionAcl.action" method="post">
  <table  align="center">
  	<tr height="40"><td></td></tr>
  	<tr><td>
		<ul id="simpleTree" class="simpleTree">
		</ul>
  	</td></tr>
  	<input type="hidden" name="roleid" value="<s:property value='roleid'/>"/>

  </table>	
  <table align="center">
  	<tr>
  		<td><input type="submit" value="提交"/></td>
  	</tr>
  </table>
  </form>
  </body>
</html>
